package cn.wzb.hrm.mapper;

import cn.wzb.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whale.chen
 * @since 2020-04-19
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    //保存机构和套餐中间表
    void insertRelationWithMeal(@Param("mealId") Long mealId,
                                @Param("tenantId") Long tenantId,
                                @Param("state") int state);
}
